package com.hksj.em.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hksj.em.entity.CaregiverTask;
import com.hksj.em.query.CaregiverTaskQuery;
import com.hksj.em.vo.CaregiverTaskVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author zengke
 * @version 1.0
 * @see CaregiverTaskMapper
 * @since 2025/04/22 17:01
 */

@Mapper
public interface CaregiverTaskMapper extends BaseMapper<CaregiverTask> {

    /**
     * 动态查询护工任务列表
     * @param query 护工任务查询条件
     */
    List<CaregiverTaskVO> queryCaregiverTaskList(@Param("query") CaregiverTaskQuery query);
}
